#include <iostream>
#include "CoR.h"

int main()
{
	auto handlerA = std::make_shared<ConcreateHandleA>();
	auto handlerB = std::make_shared<ConcreateHandleB>();

	handlerA->SetNext(handlerB);

	handlerA->Handle(5);
	handlerA->Handle(15);
	handlerA->Handle(25);
	return 0;
}